
<div class="listBox clfx">

    <div class="menuManage">
        <form target="simpleO2O_frm" action="{:U('save')}" method="post">
            <table cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td align="right">用户名：</td>
                    <td>
                        {$data.username}
                    </td>
                </tr>
                <tr>
                    <td align="right">密码：</td>
                    <td>
                        <input type="password" name="password" value="" class="inputInput" />
                    </td>
                </tr>
                <eq name="admin.role_id" value="1">
                    <tr>
                        <td align="right">角色：</td>
                        <td>
                            <select name="role_id" class="inputSelect">
                                <foreach name="roles" item="var">
                                    <option value="{$var.role_id}" <eq name="var.role_id" value="$data.role_id">selected="selected"</eq> >{$var.role_name}</option>
                                </foreach>
                            </select>
                            <code>必须选择正确的角色</code>
                        </td>
                    </tr>
                </eq>
                <tr>
                    <td align="right">手机：</td>
                    <td>
                        <input type="text" name="mobile" value="{$data.mobile|default=''}" class="inputInput" />
                        <code>手机不能为空</code>
                    </td>
                </tr>
                <tr>
                    <td align="right"></td>
                    <td>
                        <input type="submit" class="remberSubmit" value="确定编辑"  />
                        <input type="hidden" name="id" value="{$data.id}">
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
    
